﻿namespace Observer
{
    internal class DigitObserver : IObserver
    {
        public void Update(NumberGenerator generator)
        {
            Console.WriteLine($"DigitObserver:{generator.GetNumber()}");
            Thread.Sleep(100);
        }
    }
}
